package com.appkubes.fintech.restful.application.rent.request.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.math.BigDecimal;

/**
 * @Author: Rongjie
 * @Date: 2020/1/5 14:06
 * @Description:
 */
@Data
@ApiModel(discriminator = "租赁订单VO")
public class AddRentOrderVO {

    @NotNull(message = "用户KEY不能为空")
    @ApiModelProperty("用户KEY")
    @NotBlank(message = "用户KEY不能为空")
    String userKey;

    @NotNull(message = "商城订单KEY不能为空")
    @ApiModelProperty("商城订单KEY")
    @NotBlank(message = "商城订单KEY不能为空")
    String orderKey;

    @NotNull(message = "商城订单号不能为空")
    @ApiModelProperty("商城订单号")
    @NotBlank(message = "商城订单号不能为空")
    String rentOrderNo;

    @ApiModelProperty("商品信息")
    GoodsInfoVO goodsInfoVO;

    @ApiModelProperty("租赁信息")
    RentInfoVO rentInfoVO;


    @ApiModelProperty("推荐信息")
    ReferInfoVO referInfoVO;





}
